package xyz.xtt.asset.vo;

import java.util.Objects;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author huqibo
 * @date 2025/01/06
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommonResponse {
	private Boolean result;
	private String thirdResponse;
	private String param;

	public boolean isOk() {
		return Objects.nonNull(result) && Objects.equals(result, Boolean.TRUE);
	}
}
